<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
  <head>
    <?php include_http_metas() ?>
    <?php include_metas() ?>
    <?php include_title() ?>
    <link rel="shortcut icon" href="/favicon.ico" />
  </head>
  <body>
    <div id="mainPage" class="clearfix">		
		<div id="leftContent">	
			<?php  include_component('default','languageBox'); ?>
			<ul id="menuLeft" class="filetree">
				<li><span class="home"><?php echo link_to(__('Home'),'@homepage'); ?></span></li>
				<?php if($sf_user->isAuthenticated()): ?>
				<li><span class="user"><a href="#"><?php echo __('Hello ').sfContext::getInstance()->getUser()->getGuardUser()->getUsername(). ' !'; ?></a></span>
				<ul>
						<li><span class="profile"><?php echo link_to(__('My profile'),'@homepage'); ?></span></li>
						<li><span class="logout"><?php echo link_to(__('Logout'),'@sf_guard_signout'); ?></span></li>
					</ul>
				</li>
				<?php endif; ?>
				<li><span class="folder"><a href="#"><?php echo __('System management'); ?></a></span>
					<ul>
						<li><span class="file"><?php echo link_to(__('Banner position'),'@banner_position'); ?></span></li>
						<li><span class="file"><?php echo link_to(__('Banner'),'@banner'); ?></span></li>
						<li><span class="file"><?php echo link_to(__('Contact category'),'@contact_category'); ?></span></li>
						<li><span class="file"><?php echo link_to(__('Contact'),'@contact'); ?></span></li>						
						<li><span class="file"><?php echo link_to(__('Static content'),'@static_content'); ?></span></li>
						<li><span class="file"><?php echo link_to(__('Video'),'@video'); ?></span></li>
					</ul>
				</li>
                <li><span class="folder"><a href="#"><?php echo __('News management'); ?></a></span>
					<ul>
						<li><span class="file"><?php echo link_to(__('News category'),'@news_category'); ?></span></li>
                        <li><span class="file"><?php echo link_to(__('News'),'@news'); ?></span></li>
					</ul>
				</li>
				<li><span class="folder"><a href="#"><?php echo __('Degree'); ?></a></span>
					<ul>
                        <li><span class="file"><?php echo link_to(__('Degree'),'@degree'); ?></span></li>
					</ul>
				</li>
                <li><span class="folder"><a href="#"><?php echo __('Level'); ?></a></span>
					<ul>
						<li><span class="file"><?php echo link_to(__('Level study kit'),'@level_study_kit'); ?></span></li>
                        <li><span class="file"><?php echo link_to(__('Level'),'@level'); ?></span></li>
					</ul>
				</li>
                <li><span class="folder"><a href="#"><?php echo __('Question'); ?></a></span>
					<ul>
						<li><span class="file"><?php echo link_to(__('question_type'),'@question_type'); ?></span></li>
                        <li><span class="file"><?php echo link_to(__('question'),'@question'); ?></span></li>
					</ul>
				</li>
                <li><span class="folder"><a href="#"><?php echo __('Teacher'); ?></a></span>
					<ul>
						<li><span class="file"><?php echo link_to(__('teacher'),'@teacher'); ?></span></li>
                        <li><span class="file"><?php echo link_to(__('teaching'),'@teaching'); ?></span></li>
					</ul>
				</li>
                <li><span class="folder"><a href="#"><?php echo __('Test'); ?></a></span>
					<ul>
						<li><span class="file"><?php echo link_to(__('test'),'@test'); ?></span></li>
                        <li><span class="file"><?php echo link_to(__('exam test'),'@exam_test'); ?></span></li>
						<li><span class="file"><?php echo link_to(__('exam result'),'@exam_result'); ?></span></li>
					</ul>
				</li>				
                <li><span class="folder"><a href="#"><?php echo __('Student'); ?></a></span>
					<ul>
						<li><span class="file"><?php echo link_to(__('student'),'@student'); ?></span></li>
                        <li><span class="file"><?php echo link_to(__('homework'),'@homework'); ?></span></li>
					</ul>
				</li>					
				<li><span class="folder"><a href="#"><?php echo __('Newsletter management'); ?></a></span>
					<ul>
						<li><span class="file"><?php echo link_to(__('Register'),'@newsletter_register'); ?></span></li>
                        <li><span class="file"><?php echo link_to(__('Send email'),'@news'); ?></span></li>
					</ul>
				</li>
								
			</ul>
		</div><!-- [leftContent] -->		
		<div id="rightContent">
			<?php echo $sf_content ?>
		</div><!-- [rightContent] -->
	</div><!-- [mainPage] -->
	<div id="bottomPage"><b>&copy; 2010 Technical And Quality Company.</b></div><!-- [bottomPage] -->
  </body>
</html>
